package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.AUserRecord;
import com.ruoyi.system.service.IAUserRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 用户查看记录Controller
 *
 * @author gf
 * @date 2025-01-01
 */
@RestController
@RequestMapping("/xcx/aUserRecord")
public class XcxAUserRecord extends BaseController {

    @Autowired
    private IAUserRecordService aUserRecordService;

    /**
     * 查询用户查看记录列表
     */
    @GetMapping("/checkNum")
    public AjaxResult checkNum(AUserRecord aUserRecord) {
        return success(aUserRecordService.selectAUserRecordCheckNum(aUserRecord));
    }

}
